package com.dog.view.beans;

import com.dog.model.Vacancy;

import javax.annotation.PostConstruct;

/**
 * User: Kuttubek Aidaraliev
 * Date: 22.06.2010
 * Time: 15:09:08
 */
public class VacancyBean extends BaseBean<Vacancy> {

    private boolean closed = false;
    private boolean editingContactPersons = false;

    public VacancyBean() {
    }

    @PostConstruct
    protected void initialized(){
        super.initialized();
    }

    @Override
    protected Vacancy newEntity() {
        return new Vacancy();
    }

    public boolean isClosed() {
        return closed;
    }

    public void setClosed(boolean closed) {
        this.closed = closed;
    }

    public boolean isEditingContactPersons() {
        return editingContactPersons;
    }

    public void setEditingContactPersons(boolean editingContactPersons) {
        this.editingContactPersons = editingContactPersons;
    }
}
